import { createStore } from 'vuex'
import mutations from "./mutations";
import actions from "./actions";
import modules from './getter'
const state ={
  user:{
    islogin:window.localStorage.getItem('token')?true:false,

    },
  acountCart:0
}
export default createStore({
  state,
  mutations,
  actions,
  modules
})
